﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using TWS.Cart.Data;

public partial class _Default : System.Web.UI.Page
{
	int catId = -1;
    protected void Page_Load(object sender, EventArgs e)
    {		
		if (!string.IsNullOrEmpty(Request.QueryString["catId"]))
			catId = Convert.ToInt32(Request.QueryString["catId"]);

		CartCatCategory ssCat = CartCatCategory.FetchByID(catId);

		if (ssCat != null)
		{
			LiteralForTitle.Text = ssCat.Name + " - (" + ssCat.Description + ")";
		}
    }
}
